#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：    method.py
   Remark :  Python descriptor
-------------------------------------------------
"""

from enum import unique

from apitesting.src.enums.base_enum import StrEnum


@unique
class MethodEnum(StrEnum):
    GET = "get"
    POST = "post"
    PUT = "put"
    DELETE = "delete"
    PATCH = "patch"


if __name__ == '__main__':
    print(MethodEnum.has_name("Get"))
